package com.lobaby.tools.model;

import org.apache.poi.ss.usermodel.Row;

/**
 * @author Administrator
 *         Created by Administrator on 2020/12/28 0028.
 */
public class Employee {
    private String date;

    private String week;

    private String name;

    private String deptname;

    private String starttime;

    private String startstatus;

    private String endtime;

    private String endstatus;

    private String remark;

    public Employee() {
    }
    public Employee(Row row) {
        this.date = row.getCell(0).getStringCellValue();
        this.week = row.getCell(1).getStringCellValue();
        this.name = row.getCell(2).getStringCellValue();
        this.deptname = row.getCell(4).getStringCellValue();
        this.starttime = row.getCell(38).getStringCellValue();
        this.startstatus = row.getCell(39).getStringCellValue();
        this.endtime = row.getCell(40).getStringCellValue();
        this.endstatus = row.getCell(41).getStringCellValue();
        this.remark = row.getCell(13).getStringCellValue();
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getStartstatus() {
        return startstatus;
    }

    public void setStartstatus(String startstatus) {
        this.startstatus = startstatus;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public String getEndstatus() {
        return endstatus;
    }

    public void setEndstatus(String endstatus) {
        this.endstatus = endstatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "date='" + date + '\'' +
                ", week='" + week + '\'' +
                ", name='" + name + '\'' +
                ", deptname='" + deptname + '\'' +
                ", starttime='" + starttime + '\'' +
                ", startstatus='" + startstatus + '\'' +
                ", endtime='" + endtime + '\'' +
                ", endstatus='" + endstatus + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
